package com.crm.service.impl.sys;

import com.crm.dao.mapper.sys.ImportExportMapper;
import com.crm.model.entity.sys.ImportExport;
import com.crm.service.sys.ImportExportDbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author luojie
 * @date 2021/1/28 0:15
 */
@Service
public class ImportExportDbServiceImpl implements ImportExportDbService {

    @Autowired
    ImportExportMapper importExportMapper;

    @Override
    public Boolean insert(ImportExport importExport) {
        Boolean result = false;
        int num = importExportMapper.insert(importExport);
        if(num>0){
            result = true;
        }
        return result;
    }
}
